#ifndef TYPEDEF_H
#define TYPEDEF_H


typedef unsigned char  		    BOOLEAN;
typedef unsigned char  		    INT8U; 
typedef signed   char  		    INT8S;
typedef unsigned short 	    	INT16U;
typedef signed   short 	    	INT16S;
typedef unsigned long     		INT32U;  
typedef signed   long     		INT32S;
//typedef unsigned long long   INT64U; 
//typedef signed   long long   INT64S;
	
typedef volatile unsigned char  INT8VU;
typedef volatile unsigned short INT16VU;
typedef volatile unsigned long  INT32VU;

//typedef unsigned char			UINT8;	
//typedef unsigned short 	    	UINT16;	
//typedef unsigned long     		UINT32;

typedef signed   char  		    SINT8;	
typedef signed   short 	    	SINT16;	
typedef signed   long     		SINT32;	

typedef unsigned char  		    u8; 
typedef signed   char  		    s8;
typedef unsigned short 	    	u16;
typedef signed   short 	    	s16;
//typedef unsigned long     		u32;  
//typedef signed   long     		s32;

#define DATA	
#define IDATA	
#define XDATA	
#define CODE	const	

#define 	NO          0
#define 	YES         1

#define 	ON			1
#define 	OFF			0

#define 	FALSE       0
#define 	TRUE        1

#define 	FAIL 		0
#define 	OK   		1

#endif



